.franchise-detail-subject-popup{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
}
.franchise-detail-subject-popup-wrapper{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 75px 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}
.franchise-detail-subject-popup .close-button img{
    width: 100%;
    filter: grayscale(1);
}
.franchise-detail-subject-popup .close-button:hover img{
    filter: grayscale(0);
}
.franchise-detail-subject-popup .close-button{
    position: absolute;
    width: 20px;
    height: 20px;
    right: 24px;
    top: 24px;
    cursor: pointer;
}
.franchise-detail-subject{
    width: 1404px;
    padding: 64px;
    background: #FFFFFF;
    border-radius: 20px;
    position: relative;
    margin: auto;
}
.item-detail-subject{
    display: none;
}
.item-detail-subject h3{
    font-weight: 700;
    font-size: 38px;
    line-height: 120%;
    color: #0B1F35;
    margin: 0 0 48px 0;
}
.item-detail-subject h3 span{
    font-weight: 400;
}
.text-header-detail-subject p{
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #474749;
    margin: 0;
}
.header-detail-subject{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 64px;
}
.image-header-detail-subject{
    width: 212px;
}
.image-header-detail-subject img{
    width: 100%;
}
.text-header-detail-subject{
    max-width: 951px;
}
.skills-detail-subject{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 80px;
}
.skills-detail-subject .item-skill{
    width: 301px;
    height: 341px;
    background: #FFFFFF;
    box-shadow: -1px -1px 25px rgba(104, 104, 104, 0.08), 2px 5px 15px rgba(104, 104, 104, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    margin: 0 24px 24px 0;
}
.skills-detail-subject .item-skill:nth-child(4n){
    margin-right: 0;
}
.skills-detail-subject .item-skill h4{
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    color: #0B1F35;
    margin: 0 0 24px 0;
}
.skills-detail-subject .item-skill p{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #6D7986;
    margin: 0;
}
.button-request-franchise-detail{
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
    color: #FFFFFF;
    padding: 16px 103px;
    background: #F50882;
    border-radius: 10px;
    border: none;
    outline: none;
}
.button-request-franchise-detail:hover{
    background: #FF2796;
}
@media (min-width: 768px) and (max-width: 1200px) {
    .franchise-detail-subject{
        width: 970px;
    }
    .item-detail-subject h3{
        font-size: 32px;
    }
    .text-header-detail-subject p{
        font-size: 18px;
    }
    .text-header-detail-subject{
        max-width: 730px;
    }
    .skills-detail-subject .item-skill{
        width: 350px;
    }
    .franchise-detail-subject .text-right{
        text-align: left;
    }
    .franchise-detail-subject-popup-wrapper{
        padding: 15px 0;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .skills-detail-subject .item-skill {
        width: 270px;
        height: 430px;
    }
    .header-detail-subject{
        flex-direction: column;
    }
    .text-header-detail-subject{
        max-width: 590px;
    }
    .franchise-detail-subject{
        width: 680px;
        padding: 64px 45px;
    }
}
@media (max-width: 767px) {
    .franchise-detail-subject-popup-wrapper{
        padding: 0;
        background: white;
    }
    .franchise-detail-subject{
        width: 100%;
        padding: 78px 20px;
        border-radius: 0;
        max-width: 360px;
    }
    .header-detail-subject{
        flex-direction: column;
        margin-bottom: 48px;
    }
    .image-header-detail-subject{
        width: 65px;
    }
    .image-header-detail-subject{
        order: 1;
        margin-bottom: 24px;
    }
    .text-header-detail-subject{
        order: 2;
    }
    .item-detail-subject h3{
        font-size: 24px;
        line-height: 140%;
        margin: 0 0 24px 0;
    }
    .text-header-detail-subject p{
        font-size: 16px;
        line-height: 150%;
    }
    .skills-detail-subject .item-skill{
        width: 320px;
        min-height: 231px;
        height: auto;
        margin: 0 0 24px 0;
        padding: 24px 20px;
    }
    .skills-detail-subject .item-skill h4{
        font-size: 16px;
        line-height: 120%;
        margin: 0 0 16px 0;
    }
    .skills-detail-subject .item-skill p{
        font-size: 16px;
        line-height: 150%;
    }
    .skills-detail-subject{
        margin-bottom: 15px;
    }
    .button-request-franchise-detail{
        font-weight: 500;
        padding: 16px;
        width: 320px;
    }
}
